﻿using System;
using System.Xml;
using System.Collections.Generic;

namespace SBPweb.Twitter.Host.Stanzas
{

    [Serializable]
    public class UserTimeLine
    {

        #region Private fields

        private List<XmlNode> nodes = new List<XmlNode>();

        #endregion

        #region Constructor logic

        public UserTimeLine()
        {
        }

        public UserTimeLine(XmlDocument doc)
        {
            foreach (XmlNode node in doc.ChildNodes)
            {
                nodes.Add(node);
            }
            nodes.RemoveAt(0);
        }

        #endregion

        #region Property accessors

        public XmlNode Statuses
        {
            get
            {
                return nodes[0];
            }
            set
            {
                nodes[0] = value;
            }
        }

        #endregion

    }

}